#include <stdint.h>
#include <stdlib.h>
#include <string.h>

#include <iostream>
#include <string>

namespace xoxyy {
class Temp {
 public:
  long double K;
  Temp(long double k);
};
};

xoxyy::Temp::Temp(long double k) : K(k) { return; }

xoxyy::Temp operator"" _C(long double c) { return xoxyy::Temp(c + 273); }

xoxyy::Temp operator"" _F(long double f) {
  return xoxyy::Temp((f + 459.67) * 5 / 9);
}

int main(int argc, char const* argv[]) {
  xoxyy::Temp t1 = 31.73_F;
  xoxyy::Temp t2 = 0.0_C;

  std::cout << t1.K << std::endl;
  std::cout << t2.K << std::endl;

  return EXIT_SUCCESS;
}